<?php
//创建内存表
$table = new swoole_table(1024);

//内存表增加一列
$table->column('id',$table::TYPE_INT,4);
$table->column('name',$table::TYPE_STRING,64);
$table->column('age',$table::TYPE_INT,4);
$table->create();

$table->set('hotpot',['id' => 1,'name' => "aaa",'age' => 25]);
//原子操作
$table->incr('hotpot','age',2);
print_r($table->get('hotpot'));